<?php
	$today = $this->renderPartial('_eventtime', array('model'=>$model['model_today']), true);
    $tomrrow = $this->renderPartial('_eventtime', array('model'=>$model['model_tomorrow']), true);
    $thisweek = $this->renderPartial('_eventtime', array('model'=>$model['model_thisweek']), true);
    $thismonth = $this->renderPartial('_eventtime', array('model'=>$model['model_thismonth']), true);
?>
<?php
$this->widget('CTabView',array('tabs'=>array(
'tab1'=>array('title'=>'Today','content'=>$today),
'tab2'=>array('title'=>'Tomorrow','content'=>$tomrrow),
'tab3'=>array('title'=>'This Week','content'=>$thisweek),
'tab4'=>array('title'=>'This month','content'=>$thismonth))));
?>